public class Main {
    public static void main(String[] args) {
        //System.out.printl("hello");
        System.out.println(10 / 0);//算数异常

        int[] array1 = {1,2,3};
        System.out.println(array1[10]);//数组的越界访问

        int[] array2 = null;
        System.out.println(array2.length);//空指针
    }
}
